package org.thread.test04.demo10.homework.demo01;

/**
 * @author CSY
 * @date 2025 - 03 - 11
 */
public class MainTest {
    public static void main(String[] args) throws InterruptedException {
        MyThread mt = new MyThread();

        mt.start();

        Thread.sleep(10000);
        //中断
        mt.interrupt();
    }
}
